package grp.test.service;

import grp.test.common.ServerResponse;
import grp.test.pojo.Book;

import java.util.List;

public interface IReserveService {
    //预定图书
    ServerResponse<String> addReserveBook(Integer userId, Integer bookId);
    //取消预定
    ServerResponse<String> cancelReserveBook(Integer userId, Integer bookId);
    //用户查看自己的预定图书列表
    ServerResponse<List<Book>> selectMyReserve(Integer userId);
}
